// SPDX-FileCopyrightText: 2023-2025 Sangfor Technologies Inc.
// SPDX-License-Identifier: Mulan PSL v2
package com.geniusai.aip.auth.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author hml14563
 * @date 2021/5/12
 */
@Data
public class Resource {
    private Float cpu;

    private Float usedCpu;

    private Float remainedCpu;

    private Integer cpuUsage;

    private Float allocatedCpu;

    private Float remainedAllocatedCpu;

    private Integer allocatedCpuUsage;

    // vGpu显存已使用大小
    private Double usedVGpuMemory;

    // vGpu显存已分配大小
    @JsonProperty("allocatedTotalVGpuMemory")
    private Integer allocatedTotalVGpuMemory;

    // vGpu显存已分配比例
    private Integer allocatedTotalVGpuMemoryUsage;

    // vGpu显存已分配比例
    private Integer usedTotalVGpuMemoryUsage;


    // vGpu显存总数量
    @JsonProperty("totalVGpuMemory")
    private Integer totalVGpuMemory;

    private Float memory;

    private Float usedMemory;

    private Float remainedMemory;

    private Integer memoryUsage;

    private Float allocatedMemory;

    private Float remainedAllocatedMemory;

    private Integer allocatedMemoryUsage;

    private Integer storage;

    private Integer usedStorage;

    private Integer remainedStorage;

    private Integer storageUsage;

    private Integer allocatedStorage;

    private Integer remainedAllocatedStorage;

    private Integer allocatedStorageUsage;
}
